#include "TestContentFrame.h"
#include "twcore/TwitWar.h"

namespace Test
{
	int TestContentFrame::count = 1;


	TestContentFrame::TestContentFrame(QFrame *parent) :
		QFrame(parent)
	{
		ui.setupUi(this);
		setLayout(ui.vLayout);

		ui.label->setText(QString::number(count));
		++count;
	}

	TestContentFrame::~TestContentFrame()
	{

	}

	void TestContentFrame::mousePressEvent(QMouseEvent*)
	{
		TWCore::TwitWar::notify(":/AppIcon","Test");
	}
}
